<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/24
 * Time: 16:38
 */

namespace app\console\controller;
use think\Db;
use think\Request;


class Card
{
    public function index()
    {
        $param = Request::instance()->param();
        $data = Db::name('card')->paginate(10, false, ['query' => $param]);
        return view('', ['data' => $data]);
    }
}